.home {
  $f: 19.2;

  .section1 {
    margin: 264/$f+vw 200/$f+vw 0 200/$f+vw;

    .t {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .pt {
        color: #000;
        font-size: 32/$f+vw;
        line-height: 1;
      }

      a {
        display: flex;
        align-items: center;

        svg {
          width: 37/$f+vw;
          display: block;
          transition: all 600ms;
        }

        p {
          color: #FB0000;
          font-size: 0.7vw;
          margin-left: 11/$f+vw;
          transition: all 600ms;
        }

        &:hover {

          svg,
          p {
            transform: translateX(10/$f+vw);
          }
        }
      }
    }

    .t2 {
      margin: 33/$f+vw 0 0 0;
      color: #666;
      font-size: 16/$f+vw;
      line-height: 1.62;
    }

    .pic {
      text-align: center;

      img {
        max-width: 100%;
        object-fit: contain;
      }
    }
  }

  .section2 {

    .t {
      color: #000;
       font-size: 32/$f+vw;
      line-height: 1;
      margin: 0 200/$f+vw;
    }

    .types {
      display: flex;
      justify-content: center;
      margin: 60/$f+vw 200/$f+vw;

      .item {
        border: 1px solid #B5B4B2;
        color: rgba(0, 0, 0, 0.7);
        font-size: 20/$f+vw;
        padding: 18/$f+vw 93/$f+vw;
        cursor: pointer;
        transition: all 600ms;
      }

      .on {
        background: #FB0000;
        border-color: #FB0000;
        color: white;
      }
    }

    .boxes{
      position: relative;

    
      .content {
        width: 100%;
        position: relative;
        overflow: hidden;
        display: none;
        &:after {
          background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
          content: "";
          height: 120%;
          position: absolute;
          right: 0;
          top: 0;
          width:300/$f+vw;
          z-index: 2;
        }
  
        &:before {
          background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
          content: "";
          height: 120%;
          position: absolute;
          left: 0;
          top: 0;
          width: 300/$f+vw;
          z-index: 2;
          transform: rotate(180deg);
        }
        .swiper1,.swiper2 {
          width: 100%;
  
          .swiper-slide{
            a {
              display: block;
    
              .pic {
                text-align: center;
    
                img {
                  width: 100%;
                  object-fit: cover;
                }
              }
    
              .text {
                margin: 60/$f+vw 0 0 0;
                opacity: 0;
                transition: all 600ms;
                transform: translateY(30/$f+vw);
                .tag {
                  color: #FB0000;
                  font-size: 16/$f+vw;
                }
    
                .name {
                  color: #000;
                  font-size: 24/$f+vw;
                  margin: 18/$f+vw 0 27/$f+vw 0;
                }
    
                .des {
                  color: #666;
                  font-size: 16/$f+vw;
                  width: 761/$f+vw;
                  line-height: 1.625;
                }
              }
            }
          }
          .swiper-slide-active{
            a{
              .text{
                opacity: 1;
                transform: translateY(0);
              }
            }
          }
        }
  
        .prev {
          position: absolute;
          left: 280/$f+vw;
          top: 180/$f+vw;
          width: 65/$f+vw;
          height: 65/$f+vw;
          border-radius: 32.5/$f+vw;
          background: rgba(255,255,255,.4);
          box-shadow: 0px 1px 2px 0px rgba(54, 64, 67, 0.30), 0px 1px 3px 1px rgba(54, 64, 67, 0.30);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 10;
          cursor: pointer;
  
          svg {
            display: block;
            width: 36/$f+vw;
          }
        }
  
        .next {
          position: absolute;
          right: 280/$f+vw;;
          top: 180/$f+vw;
          width: 65/$f+vw;
          height: 65/$f+vw;
          border-radius: 32.5/$f+vw;
          background: rgba(255,255,255,.4);
          box-shadow: 0px 1px 2px 0px rgba(54, 64, 67, 0.30), 0px 1px 3px 1px rgba(54, 64, 67, 0.30);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 10;
          cursor: pointer;
  
          svg {
            display: block;
            width: 36/$f+vw;
          }
        }
      }
      .on{
        display: block;
      }
    }

  }

  .section3 {
    margin: 123/$f+vw 200/$f+vw;

    .types {
      display: flex;
      justify-content: center;

      .item {
        border: 1px solid #B5B4B2;
        color: rgba(0, 0, 0, 0.7);
        font-size: 20/$f+vw;
        padding: 18/$f+vw 93/$f+vw;
        cursor: pointer;
        transition: all 600ms;
      }

      .on {
        background: #FB0000;
        border-color: #FB0000;
        color: white;
      }
    }

    .wrap2 {
      .content {
        display: none;

        .t {
          color: #000;
           font-size: 32/$f+vw;
          line-height: 1;
          margin: 80/$f+vw 0 60/$f+vw 0;
        }

        .wrap {
          .r {
            display: flex;

            .box {
              display: flex;

              &:not(:last-child) {
                margin-right: 300/$f+vw;
              }

              .info {
                .name {
                  color: #000;
                  font-size: 18/$f+vw;
                }

                .des {
                  margin-top: 18/$f+vw;
                  color: #666;
                  font-size: 16/$f+vw;

                  p {
                    margin-top: 10/$f+vw;
                  }
                }

                a {
                  padding: 10/$f+vw 31/$f+vw;
                  background: #FB0000;
                  color: #FFF;
                  font-size: 18/$f+vw;
                  line-height: 1.33;
                  margin-top: 30/$f+vw;
                  display: block;
                  text-align: center;
                }
              }

              .code {
                margin-left: 90/$f+vw;
                text-align: center;

                .pic {
                  img {
                    width: 180/$f+vw;
                    display: block;
                  }
                }

                p {
                  color: #666;
                  font-size: 16/$f+vw;
                  line-height: 1.5;
                  margin-top: 20/$f+vw;
                }
              }
            }
          }
        }
      }

      .on {
        display: block;
      }
    }


  }

  .section4 {
    margin: 130/$f+vw 200/$f+vw;

    .t {
      color: #000;
       font-size: 32/$f+vw;
      line-height: 1;
      margin-bottom: 71/$f+vw;
    }

    .content {
      width: 100%;
      display: flex;
      justify-content: space-between;

      .l {
        width: 670/$f+vw;

        .list {
          a {
            display: block;
            margin-bottom: 32/$f+vw;

            .time {
              color: #666;
              font-size: 14/$f+vw;
              margin-bottom: 8/$f+vw;
            }

            .pt {
              color: #333;
              font-size: 18/$f+vw;
              transition: all 600ms;
              line-height: 1.5;
            }

            .des {
              color: #666;
              font-size: 16/$f+vw;
              line-height: 1.5;
            }

            &:hover {
              .pt {
                color: #FB0000;
              }
            }
          }
        }

        .more {
          display: flex;
          align-items: center;

          svg {
            width: 37/$f+vw;
            display: block;
            transition: all 600ms;
          }

          p {
            color: #FB0000;
            font-size: 18/$f+vw;
            margin-left: 11/$f+vw;
            transition: all 600ms;
          }

          &:hover {

            svg,
            p {
              transform: translateX(10/$f+vw);
            }
          }
        }
      }

      .r {
        width: 678/$f+vw;

        .pic {
          width: 100%;
          display: none;
          overflow: hidden;

          img {
            width: 100%;
            display: block;
            object-fit: cover;
            max-height: 390/$f+vw;
            transition: all 600ms;
          }

          &:hover {
            img {
              transform: scale(1.05);
            }
          }
        }

        .on {
          display: block;
        }
      }
    }
  }

  .section5 {
    margin: 130/$f+vw 200/$f+vw;

    .t {
      color: #000;
       font-size: 32/$f+vw;
      line-height: 1;
      margin-bottom: 60/$f+vw;
    }

    .box {
      margin-bottom: 60/$f+vw;

      .st {
        display: flex;
        color: #000;
        font-size: 32/$f+vw;
        line-height: 1.5;
        align-items: center;
        margin-bottom: 33/$f+vw;

        &::before {
          content: '';
          display: block;
          width: 8/$f+vw;
          height: 34/$f+vw;
          border-radius: 19/$f+vw;
          background: #E6001A;
          margin-right: 24/$f+vw;
        }
      }

      .partners {
        position: relative;
        overflow: hidden;

        &:after {
          background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
          content: "";
          height: 120%;
          position: absolute;
          right: -15px;
          top: -10px;
          width: 150/$f+vw;
          z-index: 2;
        }

        &:before {
          background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
          content: "";
          height: 120%;
          position: absolute;
          left: -15px;
          top: -10px;
          width: 150/$f+vw;
          z-index: 2;
          transform: rotate(180deg);
        }

        .animate_box {
          display: flex;
          width: max-content;
          animation: ani-loop 20s linear infinite;
          animation-play-state: paused;
          padding: 40/$f+vw 0;

          &:hover {
            animation-play-state: running;
          }

          .flex-xb {
            display: flex;
            flex-wrap: wrap;

            .pic {
              width: 256/$f+vw;
              height: 100/$f+vw;
              display: flex;
              align-items: center;
              margin: 0 10/$f+vw;
              justify-content: center;
              background: #FFF;
              box-shadow: 0px 10/$f+vw 52/$f+vw 0px rgba(0, 0, 0, 0.06);

              img {
                max-width: 80%;
                display: block;
                object-fit: contain;
                min-height: 80%;
              }
            }
          }

          @keyframes ani-loop {
            0% {
              transform: translateX(0);
            }

            100% {
              transform: translateX(-50%);
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .section1 {
      margin: 80px 5%;

      .t {
        .pt {
          font-size: 24px;
        }

        a {
          svg {
            width: 20px;
          }

          p {
            font-size: 16px;
            margin-left: 10px;
          }
        }
      }

      .t2 {
        font-size: 16px;
        margin: 10px 0 30px 0;
      }

      .content {
        .box {
          width: 100%;
          position: relative;
          z-index: 1;

          .item {
            margin-top: 15px;

            .pnum {
              span {
                font-size: 20px;
              }
            }

            .tag {
              font-size: 14px;
              margin-top: 5px;
            }
          }
        }
      }
    }

    .section2 {
      .t {
        font-size: 24px;
        margin: 30px 5%;
      }
      .types {
        margin: 30px 5%;
        .item {
          padding: 12px 40px;
          font-size: 16px;
        }
      }

      .boxes{
        .content {
          &::before,&::after{
            display: none;
          }
          .prev,
          .next {
            width: 35px;
            height: 35px;
            border-radius: 50%;
  
            svg {
              width: 20px;
            }
          }
          .prev{
             left: 5%;
             top:20%;
          }
          .next{
            right: 5%;
            top:20%;
         }
  
          .swiper1,.swiper2 {
            .swiper-slide{
              a {
                .pic {
                  img {
                    width: 100%;
                  }
                }
    
                .text {
                  margin: 15px;
    
                  .tag {
                    font-size: 16px;
                  }
    
                  .name {
                    font-size: 18px;
                    margin: 5px 0 10px 0;
                  }
    
                  .des {
                    font-size: 14px;
                    width: 100%;
                    line-height: 1.8;
                  }
                }
              }
            }
          }
        }
      }
    }

    .section3 {
      margin: 30px 5%;

      .types {
        .item {
          padding: 12px 40px;
          font-size: 16px;
        }
      }

      .wrap2 {
        .content {
          .t {
            font-size: 24px;
            margin: 40px 0;
          }

          .wrap {
            flex-direction: column;
            .r {
              width: 100%;
              margin-left: 0;
              margin-top: 20px;
              flex-direction: column;
              .box {
                align-items: center;
                margin-bottom: 20px;
                &:not(:last-child){
                  margin-right: 0;
                }
                .info {
                  .name {
                    font-size: 18px;
                  }

                  .des {
                    font-size: 16px;
                    margin-top: 10px;
                  }

                  a {
                    font-size: 18px;
                    padding: 12px 0;
                    margin-top: 15px;
                  }
                }

                .code {
                  margin-left: 30px;

                  .pic {
                    img {
                      width: 120px;
                    }
                  }

                  p {
                    font-size: 16px;
                    margin-top: 10px;
                  }
                }
              }
            }
          }
        }
      }
    }

    .section4 {
      margin: 60px 5%;

      .t {
        font-size: 24px;
        margin-bottom: 30px;
      }

      .content {
        flex-direction: column-reverse;

        .r {
          width: 100%;

          .pic {
            img {
              max-height: inherit;
            }
          }
        }

        .l {
          width: 100%;
          margin-top: 20px;

          .list {
            a {
              margin-bottom: 20px;

              .time {
                font-size: 16px;
              }

              .pt {
                font-size: 18px;
                line-height: inherit;
                margin: 10px 0;
              }

              .des {
                font-size: 16px;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
              }
            }
          }

          .more {
            svg {
              width: 20px;
            }

            p {
              font-size: 16px;
              margin-left: 10px;
            }
          }
        }
      }
    }

    .section5 {
      margin: 40px 5%;

      .t {
        font-size: 24px;
        margin-bottom: 30px;
      }

      .box {
        margin-bottom: 40px;

        .st {
          font-size: 18px;
          margin-bottom: 15px;

          &::before {
            height: 15px;
            width: 3px;
            margin-right: 10px;
          }
        }

        .partners {
          .scroll-container {
            .animate_box {
              padding: 20px 0;
              animation-play-state: running;

              .flex-xb {

                .pic {
                  width: 120px;
                  height: 56px;
                  margin-left: 10px;
                }
              }
            }
          }
        }
      }
    }
  }

}